<?php
namespace app\index\model;
use think\Db;
use think\Model;

Class Tool extends Model{

	protected $autoWriteTimestamp = 'datetime';
    public function lab(){
        return $this->belongsTo('Lab');
    }
    public function teacher(){
        return $this->belongsTo('Teacher');
    }
}

